<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<html>
    <head>

    </head>
    <body>
        <div class="post">
            <h2 class="title">Gebruiker bewerken</h2>
            <div class="story">
                <form id="wijziginform" action="WijzigGebruiker" method="post">
                    <table> 
                        <tr>
                            <td><b>Voornaam</b></td>
                            <td><input type="text" name="fname" value="${currentUser.lidVnaam}"></td>
                            <td><font style="color: red">${naam}</font></td>
                        </tr>
                        <tr>
                            <td><b>Tussen voegsel</b></td>
                            <td><input type="text" name="insertion" value="${currentUser.lidTussenvoegsel}"></td>
                            <td><font style="color: red">${insert}</font></td>
                        </tr>
                        <tr>
                            <td><b>Achternaam</b></td>
                            <td><input type="text" name="lname" value="${currentUser.lidAnaam}"></td>
                            <td><font style="color: red">${name}</font></td>
                        </tr>
                        <tr>
                            <td><b>Geboortedatumm</b></td>
                            <td><input type="text" name="geboortedatum" id="date" value="${currentUser.lidGeboortedatum}"></td>
                              <td><font style="color: red">${geboortedatum}</font></td>
                        </tr>
                        <tr>
                            <td><b>Username</b></td>
                            <td><input type="text" name="username" value="${currentUser.lidLogin}" disabled=""></td>
                            <td><font style="color: red">${user}</font></td>
                        </tr> 
                        <tr>
                            <td><b>Wachtwoord</b></td>
                            <td><input type="password" name="password" value="${currentUser.lidPassword}"></td>
                            <td><font style="color: red">${word}</font></td>
                        </tr> 
                        <tr>
                            <td><b>Huis nummer</b></td>
                            <td><input type="text" name="huisnummer" value="${currentUser.lidHuisnummer}"></td>
                            <td><font style="color: red">${huis}</font></td>
                        </tr>
                        <tr>
                            <td><b>Provinciale staat</b></td>
                            <td>
                                <select name="state">
                                    <option value="${currentUser.lidProvincie}" selected="selected">${currentUser.lidProvincie}</option>
                                    <option value="">-----------------------------</option>
                                    <option value="Limburg">Limburg</option>
                                    <option value="Noord-Brabant">Noord-Brabant</option>
                                    <option value="Zeeland">Zeeland</option>
                                    <option value="Zuid-Holland">Zuid-Holland</option>
                                    <option value="Noord-Holland">Noord-Holland</option>
                                    <option value="Utrecht">Utrecht</option>
                                    <option value="Gelderland">Gelderland</option>
                                    <option value="Flevoland">Flevoland</option>
                                    <option value="Overijssel">Overijssel</option>
                                    <option value="Drenthe">Drenthe</option>
                                    <option value="Friesland">Friesland</option>
                                    <option value="Groningen">Groningen</option>
                                </select>
                            </td>
                            <td><font style="color: red">${state}</font></td>
                        </tr>
                        <tr>
                            <td><b>Postcode</b></td>
                            <td><input type="text" name="postalcode" value="${currentUser.lidPostcode}"></td>
                            <td><font style="color: red">${post}</font></td>
                        </tr>  
                        <tr>
                            <td><b>E-mail Adres</b></td>
                            <td><input type="text" name="emailAdres" value="${currentUser.lidEmail}"></td>
                            <td><font style="color: red">${mail}</font></td>
                        </tr>  
                        <tr>
                            <td><input type="hidden" name="lidId" value="${currentUser.lidId}"></td>
                            <td><input type="submit" name="submit" value="Update"></td>
                            <td></td>
                        </tr>
                    </table>
                </form>

            </div> 
        </div>
    </body>
</html>

